package com.jerry.security.config;

import com.jerry.security.validate.image.ImageCodeProperties;
import com.jerry.security.validate.sms.SmsCode;
import com.jerry.security.validate.sms.SmsCodeProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "com.jerry.security")
public class SecurityConfigProperties {

    private ImageCodeProperties imageCode = new ImageCodeProperties();
    private SmsCodeProperties smsCode = new SmsCodeProperties();

    public ImageCodeProperties getImageCode() {
        return imageCode;
    }
    public void setImageCode(ImageCodeProperties imageCode) {
        this.imageCode = imageCode;
    }

    public SmsCodeProperties getSmsCode() {
        return smsCode;
    }
    public void setSmsCode(SmsCodeProperties smsCode) {
        this.smsCode = smsCode;
    }



}
